<template>
  <div class="login">
  		<div class="positionR">
  			<i class="logo-positionA"></i>
  			<img src="./images/icon_bg.png" />
  		</div>
  		<div class="login-ft3">
  			<ul>
          <li>
  				  <input type="text" name="" class="username" placeholder="手机号" v-model="userName">
          </li>
          <li>
  				  <input type="password" name="" class="password" placeholder="密码" v-model="passWord">
          </li>
  			</ul>
        <p>
          <span>忘记密码？</span>
        </p>
        <div class="login-ft4">
          <a @click="submit()">
            <span>登录</span>
          </a>
          <p>
            <a @click.prevent="">
              <span>创建新账号</span>
            </a>
          </p>
        </div>
  		</div>
  </div>
</template>

<script>

  export default{
      data () {
          return {
              userName: '',
              passWord: ''
          }
      },
      methods: {
          submit () {
              if (this.userName == '18211014007' && this.passWord == '123456') {
                  window.location = "#/home/homeGirl"
              }
          }
      }
  }

</script>

<style scoped>
.login{
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 12;
  background-color: #fff;
}
.login .positionR{
	width: 100%;
	height:11.08rem;
	position: relative;
}
.login .positionR>img{
	width: 100%;
	height: 100%;
}
.login .positionR .logo-positionA{
	background:url('./images/logo.png');
	background-size:100% 100%;
	display: block;
	width: 18.7%;
	height: 5rem;
	position: absolute;
	bottom: -1.25rem;
  left: 50%;
  margin-left: -2.5rem;
}
.login-ft3{
	width:80%;
	height: 20.25rem;
	margin: 0 10%;
  margin-top: 3.33rem;
  color: #333;
}
.login-ft3 ul li{
  margin-top: 1.67rem;
  border-bottom: solid 1px #aaa;
  position: relative;
}
.login-ft3 ul li input{
  width: 100%;
  height: 2.5rem;
  padding: 0;
  margin-bottom: 5px;
  outline: 0;
  border: 0;
  font-size: 1.2rem;
}
.login-ft3 p{
  margin-top: 5px;
  text-align: right;
  color: #AAA;
}
.login-ft4{
  margin-top: 3.33rem;
  text-align: center;
}
.login-ft4>a{
  display: block;
  padding:0.83rem 0;
  border-radius: 3px;
  background-color: #fe3355;
  color:#fff;
  font-size: 1.35rem;
}
.login-ft4>p{
  margin-top: 1.67rem;
  text-align: center;
  font-size: 1.35rem;
}
.login-ft4>p>a{
   color:#333;
}
</style>
